package com.yjyw.tiexie.adapter;

import android.graphics.Color;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yjyw.tiexie.R;
import com.yjyw.tiexie.bean.ActiveTypeBean;

import java.util.List;

public class WeekRightAdapter extends BaseQuickAdapter<ActiveTypeBean, BaseViewHolder> {
    public WeekRightAdapter(int layoutResId, @Nullable @org.jetbrains.annotations.Nullable List<ActiveTypeBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ActiveTypeBean item) {
//        TextView tv_name = helper.itemView.findViewById(R.id.tv_name);
//
//        tv_name.setText(item.getCateName());
//        if (item.isSelected()) {
//            tv_name.setTextColor(Color.parseColor("#3C3043"));
//        } else {
//            tv_name.setTextColor(Color.parseColor("#A49FA7"));
//        }
    }
}
